package Com.amit.corejava;


class C

{
	C getc()
	{
		return this;
	}
	
	public void msg()
	{
		System.out.println("Hello java");
	}
}
public class Lab32 {
	

	public static void main(String[] args) {
		
		new C().getc().msg();
		
		
		
		

	}

}
